immigrant_rate_1km <- z11::z11_get_1km_attribute(Auslaender_A)
## Warning in CPL_rasterize(file, driver, st_geometry(sf), values,
## options, : GDAL Message 1: The definition of geographic CRS
## EPSG:4258 got from GeoTIFF keys is not the same as the one from the
## EPSG registry, which may cause issues during reprojection
## operations. Set GTIFF_SRS_SOURCE configuration option to EPSG to use
## official parameters (overriding the ones from GeoTIFF keys), or to
## GEOKEYS to use custom values from GeoTIFF keys and drop the EPSG
## code.
## Warning in CPL_read_gdal(as.character(x), as.character(options),
## as.character(driver), : GDAL Message 1: The definition of geographic
## CRS EPSG:4258 got from GeoTIFF keys is not the same as the one from
## the EPSG registry, which may cause issues during reprojection
## operations. Set GTIFF_SRS_SOURCE configuration option to EPSG to use
## official parameters (overriding the ones from GeoTIFF keys), or to
## GEOKEYS to use custom values from GeoTIFF keys and drop the EPSG
## code.
immigrant_rate_1km[immigrant_rate_1km <= -1] <- NA
vacany_rate_1km <- z11::z11_get_1km_attribute(Leerstandsquote)
## Warning in CPL_rasterize(file, driver, st_geometry(sf), values,
## options, : GDAL Message 1: The definition of geographic CRS
## EPSG:4258 got from GeoTIFF keys is not the same as the one from the
## EPSG registry, which may cause issues during reprojection
## operations. Set GTIFF_SRS_SOURCE configuration option to EPSG to use
## official parameters (overriding the ones from GeoTIFF keys), or to
## GEOKEYS to use custom values from GeoTIFF keys and drop the EPSG
## code.
## Warning in CPL_rasterize(file, driver, st_geometry(sf), values,
## options, : GDAL Message 1: The definition of geographic CRS
## EPSG:4258 got from GeoTIFF keys is not the same as the one from the
## EPSG registry, which may cause issues during reprojection
## operations. Set GTIFF_SRS_SOURCE configuration option to EPSG to use
## official parameters (overriding the ones from GeoTIFF keys), or to
## GEOKEYS to use custom values from GeoTIFF keys and drop the EPSG
## code.
vacany_rate_1km[vacany_rate_1km <= -1] <- NA
immigrant_rate_1km
## class : SpatRaster
## dimensions : 867, 641, 1 (nrow, ncol, nlyr)
## resolution : 1000, 1000 (x, y)
## extent : 4031500, 4672500, 2684500, 3551500 (xmin, xmax, ymin, ymax)
## coord. ref. : ETRS89-extended / LAEA Europe (EPSG:3035)
## source(s) : memory
## name : lyr.1
## min value : 0
## max value : 100
vacany_rate_1km
## class : SpatRaster
## dimensions : 867, 641, 1 (nrow, ncol, nlyr)
## resolution : 1000, 1000 (x, y)
## extent : 4031500, 4672500, 2684500, 3551500 (xmin, xmax, ymin, ymax)
## coord. ref. : ETRS89-extended / LAEA Europe (EPSG:3035)
## source(s) : memory
## name : lyr.1
## min value : 0
## max value : 100